package main.visitor;

public class Pencil implements Acceptable {

    private long unitPrice;
    private long discount;
    private long boldQuality;
    private long length;

    public long getUnitPrice() {
	return unitPrice;
    }

    public void setUnitPrice(long unitPrice) {
	this.unitPrice = unitPrice;
    }

    public long getDiscount() {
	return discount;
    }

    public void setDiscount(long discount) {
	this.discount = discount;
    }

    public long getBoldQuality() {
	return boldQuality;
    }

    public void setBoldQuality(long boldQuality) {
	this.boldQuality = boldQuality;
    }

    public long getLength() {
	return length;
    }

    public void setLength(long length) {
	this.length = length;
    }

    @Override
    public long accept(Visitor visitor) {
	return visitor.visit(this);
    }
}
